package com.healthcloud.service;

import java.util.ArrayList;
import java.util.List;

import com.healthcloud.entity.MedicationGuid;
import com.healthcloud.entity.MedicationGuidOfMedicaName;

/**
 * Created by XYC on 2015/9/16.
 */
public interface MedicationGuidService {
//    public
    MedicationGuid saveOrUpdata(MedicationGuid medicationGuid);

    /**
     * 根据属性值进行查询
     * @param medicationGuid
     * @return
     */
    ArrayList<MedicationGuid> findByEntity(MedicationGuid medicationGuid);

    ArrayList<MedicationGuidOfMedicaName> findAllMedicaName();

    MedicationGuid findByFid(MedicationGuid medicationGuid);

    List<MedicationGuid> findByLikeMedicationName(String medicationName);

    List<String> findMedicationNameByLikeMedicationName(String medicationName);
}
